package yagui4ctte;

public class Node {

    public enum categorie  { Abstraction, Application, Interaction, Utilisateur};
    public enum frequence {Basse, Moyenne, Haute};
    public enum plateforme {Pda, Bureau, Mobile, Vocale};

    private String id;
    private categorie categori;
    private frequence frequenc;
    private plateforme plateform;

    public Node(String id, categorie c,frequence f,plateforme p) {
        this.id = id;
        this.categori = c;
        this.frequenc = f;
        this.plateform = p;
    }

    public Node() {
        this("",categorie.Abstraction,frequence.Basse,plateforme.Bureau);
    }

    public categorie getCategorie() {
        return categori;
    }

    public void setCategorie(categorie categori) {
        this.categori = categori;
    }

    public plateforme getPlateForme() {
        return plateform;
    }

    public void setPlateForme(plateforme plateform) {
        this.plateform = plateform;
    }

    public frequence getFrequence() {
        return frequenc;
    }

    public void setFrequence(frequence frequenc) {
        this.frequenc = frequenc;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString(){
        return this.id;
    }
}


